﻿using System;
using System.Collections.Generic;
using Nofs.Net.AnnotationDriver;


namespace Nofs.Net.nofs_addressbook
{
    //@DomainObject
    //@FolderObject(CanAdd=true, CanRemove=true)
    [DomainObject]
    [FolderObject(OperatorObject.CanAdd | OperatorObject.CanRemove)]
    public class Category : LinkedList<Contact>
    {
        //private static readonly long serialVersionUID = -1894118909215893546L;
        private String _name;

        [ProvidesName]//@ProvidesName
        public void setName(String name)
        {
            _name = name;
        }

        [ProvidesName]//@ProvidesName
        public String getName()
        {
            return _name;
        }
    }
}
